package libra.model.seate;

import java.io.Serializable;

/**
 * 模拟编写SeataDemo的商品类
 * @author libra
 */
public class Goods implements Serializable {
	/**  */
	private static final long serialVersionUID = 9152784404679145999L;
	
	private Integer id;
	private String name;
	private Integer num;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	
	@Override
	public String toString() {
		return "Goods [id=" + id + ", name=" + name + ", num=" + num + "]";
	}
}
